package com.shamar.blog.enums;


/**
 * 使用枚举表述常量数据字典
 * @author fxm
 * @date 2020-08-02 11:36
 */
public enum ErrorMsgsEnum {

	SUCCESS(1, "成功"),
	FAIL(0,"失败");

	private int code;

	private String msg;


	ErrorMsgsEnum(int code, String msg) {
		this.code = code;
		this.msg = msg;
	}

}